package com.qtong.rotatenavigation.view;

import com.qtong.rotatenavigation.R;
import com.qtong.rotatenavigation.R.id;
import com.qtong.rotatenavigation.R.layout;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class NitificationDemoActivity extends Activity{

	TextView textView;
	Button button;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
	
	}
	@Override
	protected void onStart() {
		
		Intent intent = getIntent();
		Bundle bundle = intent.getExtras();
		String content = bundle.getString("content");
		Log.i("content", content);
		setContentView(R.layout.notificationview);
		textView= (TextView) findViewById(R.id.notification_textview);
		textView.setText(content);
		// TODO Auto-generated method stub
		super.onStart();
	}
	@Override
	protected void onDestroy() {
		// TODO Auto-generated method stub
		super.onDestroy();
	}
	@Override
	protected void onStop() {
		// TODO Auto-generated method stub
		super.onStop();
	}
	

}
